package com.atguigu.gulimall.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @DESCRIPTION:
 * @author: zr
 * @DATE: 2022/12/27 21:58
 */
@ConfigurationProperties(prefix = "gulimall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    /**
     * 核心线程池大小
     */
    private Integer coreSize;
    /**
     * 线程最大数量
     */
    private Integer maxSize;
    private Integer keepAliveTime;
}
